import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { ChargeOrder } from 'src/entities/ChargeOrder';
import { Connection, Repository } from 'typeorm';
import { BaseModelService } from '../base-model/base-model.service';

@Injectable()
export class ChargeOrderModelService extends BaseModelService<ChargeOrder>{
    constructor(
        @InjectRepository(ChargeOrder) protected repository:Repository<ChargeOrder>

    ){
        super()
        this.primaryKey = 'orderId'
    }
}
